package lib.quasar.widget.chart.draw;

import android.content.Context;
import android.graphics.Canvas;

import lib.quasar.widget.chart.ChartView;

/**
 * description: 当前类描述信息
 * created by kalu on 2018/4/29 8:42
 */
public interface IDraw {

    void onDrawInit(float left, float top, float right, float bottom,
                    float marginTop, float marginBottom, float marginLeft, float marginRight,
                    float paddingTop, float paddingBottom, float paddingLeft, float paddingRight,
                    float width, float height, float centerX, float centerY, int model);

    void onDrawNull(Context context, ChartView chart, Canvas canvas, String str, int model);

    void onDrawData(Context context, ChartView chart, Canvas canvas, float touchX, float touchY, int model);
}
